package cn.edu.ujn.project.supermarket.extendbean;

import cn.edu.ujn.project.common.annotation.Excel;
import cn.edu.ujn.project.supermarket.domain.ChargeReport;
/**
 * 充值记录子类 charge_report
 * 
 */
public class ChargeReportChild extends ChargeReport {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/** 用户id */
	
	@Excel(name = "id")
   	protected String userID;
	
	@Excel(name = "操作用户名")
   	protected String  reportName;
	
	
    public String getReportName() {
		return reportName;
	}
	public void setReportName(String vipName) {
		this.reportName = reportName;
	}
	@Excel(name = "vip用户名")
	protected String userName;
    
  
	public String getUserID() {
		return userID;
	}
	public void setUserID(String userID) {
		this.userID = userID;
	}
	public ChargeReportChild() {
		super();
		
	}
    public ChargeReportChild(String userId, String chargeId, String vipId, Double amount,String vipName) {
		super();
		this.userName = userId;
		this.chargeId = chargeId;
		this.vipId = vipId;
		this.amount = amount;
		this.reportName = vipName;
	}
    public ChargeReportChild(String userId, ChargeReport c) {
  		super();
  		this.userName = userId;
  		this.chargeId = c.getChargeId();
  		this.vipId = c.getVipId();
  		this.amount = c.getAmount();
  	}

	@Override
	public String toString() {
		return "ChargeReportChild [userID=" + userID + ", reportName=" + reportName + ", userName=" + userName
				+ ", chargeId=" + chargeId + ", vipId=" + vipId + ", amount=" + amount + "]";
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}

	
}
